<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>JSDoc: Class: Energy</title>

    <script src="scripts/prettify/prettify.js"> </script>
    <script src="scripts/prettify/lang-css.js"> </script>
    <style>
        [inherited] {
            display: none;
        }

        [inherited-show] {
            display: block;
        }
    </style>
    <script>
        function toggleInherited(event) {
            var shouldShow = event.type !== "DOMContentLoaded" && !document.querySelector("[inherited][inherited-show]");
            Array.prototype.forEach.call(document.querySelectorAll("dl"), function (elem) {
                var inherited = elem.querySelectorAll("[inherited]");
                Array.prototype.forEach.call(inherited, function (elem) {
                    if (shouldShow) {
                        elem.setAttribute("inherited-show", "");
                    } else {
                        elem.removeAttribute("inherited-show");
                    }
                });
                if (inherited.length > 0) {
                    var header = elem.previousElementSibling;
                    if (header.tagName === "H3") {
                        header.style.display = parseInt(document.defaultView.getComputedStyle(elem).height) > 0 ? "" : "none";
                    }
                }
            });
            if (event.type !== "DOMContentLoaded") {
                event.target.innerHTML = (shouldShow ? "Hide" : "Show") + " inherited";
            } else if (!document.querySelector("[inherited]")) {
                var toggleLink = document.getElementById("toggleinherited");
                if (toggleLink) {
                    toggleLink.style.display = "none";
                }
            }
        }
        window.addEventListener("DOMContentLoaded", toggleInherited);
    </script>
    <!--[if lt IE 9]>
      <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
    <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>

<body>

<div id="main">

    <h1 class="page-title">Class: Energy</h1>

    



<section>

<header>
    <h2>
    Energy
    </h2>
    
        <div class="class-description"><p>An unit of energy . Curabitur sollicitudin porttitor turpis vitae rutrum. Mauris interdum neque id massa sollicitudin, fermentum facilisis erat commodo. In at purus a risus aliquam faucibus.</p></div>
    
</header>

<article>
    <div class="container-overview">
    

    
        
<dt>
    
    <h4 class="name" id="Energy"><span class="type-signature"></span>new Energy<span class="signature">()</span><span class="type-signature"></span></h4>
    

    
</dt>
<dd>

    

    

    

    

    
<dl class="details">
    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="Energy.js.html">Energy.js</a>, <a href="Energy.js.html#line5">line 5</a>
    </li></ul></dd>
    

    

    

    
</dl>


    

    

    

    

    

    

    
</dd>

    
    </div>

    
    

    

    

    

    

    <a id="toggleinherited" href="#" onclick="toggleInherited(event)">Show inherited</a>

    
        <h3 class="subsection-title">Members</h3>

        <dl>
            
            
<dt>
    <h4 class="name" id="amount"><span class="type-signature"></span>amount<span class="type-signature"> :number</span></h4>

    
</dt>
<dd>
    
    <div class="description">
        <p>the amount of energy in this unit</p>
    </div>
    

    
        <h5>Type:</h5>
        <ul>
            <li>
                
<span class="param-type">number</span>


            </li>
        </ul>
    

    
<dl class="details">
    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="Energy.js.html">Energy.js</a>, <a href="Energy.js.html#line11">line 11</a>
    </li></ul></dd>
    

    

    

    
</dl>


    

    
</dd>

        
            
            
<dt>
    <h4 class="name" id="unit"><span class="type-signature"></span>unit<span class="type-signature"> :<a href="global.html#EnergyUnit">EnergyUnit</a></span></h4>

    
</dt>
<dd>
    
    <div class="description">
        <p>Mauris interdum neque <a href="Environment.html">Environment</a> id massa</p>
    </div>
    

    
        <h5>Type:</h5>
        <ul>
            <li>
                
<span class="param-type"><a href="global.html#EnergyUnit">EnergyUnit</a></span>


            </li>
        </ul>
    

    
<dl class="details">
    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="Energy.js.html">Energy.js</a>, <a href="Energy.js.html#line17">line 17</a>
    </li></ul></dd>
    

    

    

    
</dl>


    

    
</dd>

        </dl>
    

    

    

    
</article>

</section>




</div>

<nav>
    <h2><a href="index.html">Index</a></h2><h3>Classes</h3><ul><li><a href="Alive.html">Alive</a></li><li><a href="Apple.html">Apple</a></li><li><a href="Energy.html">Energy</a></li><li><a href="Environment.html">Environment</a></li><li><a href="Tree.html">Tree</a></li></ul><h3>Events</h3><ul><li><a href="Apple.html#event:beEaten">beEaten</a></li><li><a href="Environment.html#event:beforeDestroy">beforeDestroy</a></li></ul>
</nav>

<br clear="both">

<footer>
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Oct 30 2017 20:40:48 GMT-0300 (-03)
</footer>

<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>
</html>